package com.twu.biblioteca.options;

import com.twu.biblioteca.Option;
import com.twu.biblioteca.UserInterface;

/**
 * Created with IntelliJ IDEA.
 * User: aulme
 * Date: 09/07/2013
 * Time: 16:36
 * To change this template use File | Settings | File Templates.
 */
public class TalkToLibrarianOption implements Option {
    private UserInterface userInterface;

    public TalkToLibrarianOption(UserInterface userInterface) {
        this.userInterface = userInterface;
    }

    @Override
    public String toString() {
        return "Talk to the librarian";
    }

    @Override
    public void Execute() {
        this.userInterface.showMessage("Please talk to a Librarian. Thank you.");
    }
}
